﻿/*------------------------------------------------
 Author:ShenDuo
 CreatedDate:2019.3.19
 UpdatedDate:
 version:0.1
 ------------------------------------------------*/

namespace TrainsTraining.Model
{
    /// <summary>
    ///     Final path definition
    /// </summary>
    public class Path
    {
        public Path(string route, int distance)
        {
            Route = route;
            Distance = distance;
        }

        //route string
        public string Route { get; set; }

        //total distance
        public int Distance { get; set; }
    }
}